﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0818
{
    /// <summary>
    ///  获取店铺关联节点
    /// </summary>
    public class InputStoreId
    {
        /// <summary>
        ///  用户内部编码
        /// </summary>
        [Required(ErrorMessage = "userid：用户内部编码不能为空！")]
        public string userid { get; set; }
        /// <summary>
        ///  店铺id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请传入正确店铺id")]//大于0正则表达式
        public int store_id { get; set; }
        /// <summary>
        ///  模糊匹配节点名称和节点简介
        /// </summary>
        public string keyword { get; set; }
    }
}